package com.freesky.biz.activity.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.freesky.common.annotation.Excel;
import com.freesky.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 结算管理
 */
@Data
public class TSettlementDetail extends BaseEntity {

    //@ExcelProperty("合作分行")
    @Excel(name ="合作分行")
    private String settleDetailId;

    //@ExcelProperty("活动批次")
    @Excel(name ="活动批次")
    private String stockId;

    //@ExcelProperty("活动名称")
    @Excel(name ="活动名称")
    private String stockName;

    //@ExcelIgnore
    @Excel(name = "开始时间",dateFormat = "yyyy/MM/dd")
    private String beginTime;
    //@ExcelIgnore
    @Excel(name = "结束时间",dateFormat = "yyyy/MM/dd")
    private String endTime;

    //@ExcelIgnore
//    @Excel(name = "支付笔数")
//    private Long usedCount;

    //@ExcelProperty("核销优惠金额（元）")
    @Excel(name = "核销优惠金额（元）")
    private Double usedMoney;

    //@ExcelIgnore
//    @Excel(name = "退款笔数", cellType = Excel.ColumnType.NUMERIC, prompt = "退款笔数")
//    private Long refundCount;

    //@ExcelProperty("退款金额（元）")
    @Excel(name = "退款金额（元）", cellType = Excel.ColumnType.NUMERIC, prompt = "退款金额")
    private Double refundMoney;

    //@ExcelProperty("实际核销金额（元）")
    @Excel(name = "实际核销金额（元）", cellType = Excel.ColumnType.NUMERIC, prompt = "核销金额")
    private Double consumeMoney;

    //@ExcelProperty("服务费 (元)")
    @Excel(name = "服务费 (元)", cellType = Excel.ColumnType.NUMERIC, prompt = "服务费")
    private Double serviceFee;

    //@ExcelProperty("需报账金额")
    @Excel(name = "需报账金额", cellType = Excel.ColumnType.NUMERIC, prompt = "结算金额")
    private Double settleMoney;

    @ExcelIgnore
    private String settleId;
}
